package com.qf.personal.entiy;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "'g_holiday'")
public class Holiday {
    /**
     * 假期Id
     */
    @TableId(value = "holiday_id")
    @ApiModelProperty(value = "id主键")
    private Long holidayId;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "假期开始时间")
    private Date startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "假期结束时间")
    private Date endTime;

    /**
     * 请假时常
     */
    @ApiModelProperty(value = "请假总时常")
    private Integer time;

    /**
     * 请假原因
     */
    @ApiModelProperty(value = "请假原因")
    private String cause;

    /**
     * 1为正常，0为山粗和
     */
    private Integer state;
}

